package com.example.cxx.mapper;

import com.example.cxx.pojo.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    boolean insertUser(int userAccount,String userPass);
    User selectUser(int userAccount, String userPass);
    boolean insertDes(String openid,Integer userId);
    boolean selectDes(String oppenid);
    void updateDes(String oppenid, Integer id);
    String selectOpenid(Integer id);
    void deleteDes(String openid);
    User selectUserById(Integer id);
}
